<?php
/**
 * Author: Administrator
 * Date: 2022/7/24 17:44
 */

namespace DesignPatterns\Behavioral\Mediator;


class Server extends Colleague
{
    public function handle($data) {
        $data = $this->getMediator()->queryDB($data['query']);
        return $this->getMediator()->sendResponse($data);
    }

}